#ifndef _CSF_MC_H
#define _CSF_MC_H
	
#define KEY_MAX_LENGTH 63
#define VALUE_MAX_LENGTH 639

typedef struct {
	short key_len;
	short value_len;
	int  delay;
	char key[KEY_MAX_LENGTH + 1];
	char value[VALUE_MAX_LENGTH + 1];
}MC_DATA;

#define mc_state_init 0
#define mc_state_read 1
#define mc_state_sallow 2

typedef struct {
	int state;
	int est;
	MC_DATA *mdp;
} MC_STATE;

#endif

